package cn.tedu._02notice.mapper;

import cn.tedu._02notice.pojo.datatransferobje.NoticeAddQuery;
import cn.tedu._02notice.pojo.datatransferobje.NoticeListQuery;
import cn.tedu._02notice.pojo.datatransferobje.NoticeUpdateParam;
import cn.tedu._02notice.pojo.entity.Notice;
import cn.tedu._02notice.pojo.valueobject.NoticeDetailInfoVO;
import cn.tedu._02notice.pojo.valueobject.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface NoticeMapper {
    int insertNotice(Notice notice);

    List<NoticeListVO> queryNotice(NoticeListQuery noticeListQuery);

    NoticeDetailInfoVO queryNoticeDetail(Long id);

    int deleteNotice(Long id);

    int updateNotice(Notice notice);
}
